package  
{
	/**
	 * ...
	 * @author Seven Game Studio
	 */
	public class Camera 
	{
		public var x:Number;
		public var y:Number;
		private var screenCenterWidth:Number;
		private var screenCenterHeigth:Number
		
		public function Camera(stageWidth:Number, stageHeight:Number) 
		{
			screenCenterWidth = stageWidth / 2;
			screenCenterHeigth = stageHeight / 2;
		}
		
		public function update()
		{
			Main.instance.MC_tela.x = this.x + screenCenterWidth;
			Main.instance.MC_tela.y = this.y + screenCenterHeigth;
		}
		//DESAFIO SUPREMO
		//PROGRAMAR A CLASSE CÂMERA
		
	}

}